package com.koron.plan.web.repairplan.bean.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author twcao
 * @title: IssueState
 * @projectName GDH_EAM_V2
 * @description: 工作室统计
 * @date 2021/9/1417:49
 */
@Data
@Accessors(chain = true)
@ApiModel("进度值")
public class IssueState {

    @ApiModelProperty("待下发")
    private Integer toIssue = 0;

    @ApiModelProperty("已下发")
    private Integer issued = 0;

    @ApiModelProperty("执行中")
    private Integer execute = 0;

    @ApiModelProperty("未完成")
    private Integer noFinish = 0;

    @ApiModelProperty("已完成")
    private Integer finish = 0;

    public Integer getNoFinish() {
        return this.toIssue + this.issued + this.execute;
    }
}
